package serializer;

import lombok.extern.java.Log;

/**
 * @program: KafkaSparkStreaming
 * @description
 * @author: tkk fendoukaoziji
 * @create: 2019-05-25 08:01
 **/
@Log
public class TestLambok {
    public static void main(String[] args) {
        Person p = new Person();
        p.setName("xiaoming");
        p.setAddress("北京");
        System.out.println(p.toString());
        Person p2 = new Person("xiaohua", "上海");
        System.out.println(p2.toString());
        System.out.println(p.equals(p2));

        Person p3 = Person.builder().address("南京").name("小fuck").build();
        System.out.println(p3.toString());
        log.info("lambok test");
    }
}
